//
// Built on Mon Jun 03 23:53:17 CEST 2013 by logback-translator
// For more information on configuration files in Groovy
// please see http://logback.qos.ch/manual/groovy.html

// For assistance related to this tool or configuration files
// in general, please contact the logback user mailing list at
//    http://qos.ch/mailman/listinfo/logback-user

// For professional support please see
//   http://www.qos.ch/shop/products/professionalSupport

import ch.qos.logback.classic.encoder.PatternLayoutEncoder
import ch.qos.logback.core.ConsoleAppender

import static ch.qos.logback.classic.Level.DEBUG
import static ch.qos.logback.classic.Level.INFO
import static ch.qos.logback.classic.Level.WARN

appender("CONSOLE", ConsoleAppender) {
  encoder(PatternLayoutEncoder) {
    pattern = "%d{HH:mm:ss} [%t] %-5p [%c] %m%n"
  }
}

logger("org.springframework", WARN, ["CONSOLE"])
logger("org.springframework.web.servlet.DispatcherServlet", INFO, ["CONSOLE"])
logger("org.apache", WARN, ["CONSOLE"])
logger("ch.qos.logback", WARN, ["CONSOLE"])
root(DEBUG, ["CONSOLE"])